package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UserGroupBase{
	boolean[] modified=new boolean[26];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UserGroupBase(){}
	public UserGroupBase(java.lang.Long userId,java.lang.Long groupId,java.lang.Integer role,java.lang.String nickName,java.lang.Integer signingUpPermission,java.lang.Integer postPermission,java.lang.Integer uploadPermission,java.lang.Integer downloadPermission,java.lang.Long cent,java.lang.Long exprience,java.lang.Long replies,java.lang.Long postCounts,java.lang.Long icon,java.lang.String contactEmail,java.lang.String contactPhone,java.lang.String contactIM,java.lang.String contactFuther,java.util.Date onlineTime,java.util.Date lastVisite,java.lang.Integer level,java.lang.Integer prestige,java.lang.String signature,java.lang.Long updateAmount,java.lang.Long downloadAmount,java.lang.Integer sex,java.lang.Integer state){
		setUserId(userId);
		setGroupId(groupId);
		setRole(role);
		setNickName(nickName);
		setSigningUpPermission(signingUpPermission);
		setPostPermission(postPermission);
		setUploadPermission(uploadPermission);
		setDownloadPermission(downloadPermission);
		setCent(cent);
		setExprience(exprience);
		setReplies(replies);
		setPostCounts(postCounts);
		setIcon(icon);
		setContactEmail(contactEmail);
		setContactPhone(contactPhone);
		setContactIM(contactIM);
		setContactFuther(contactFuther);
		setOnlineTime(onlineTime);
		setLastVisite(lastVisite);
		setLevel(level);
		setPrestige(prestige);
		setSignature(signature);
		setUpdateAmount(updateAmount);
		setDownloadAmount(downloadAmount);
		setSex(sex);
		setState(state);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setGroupId(java.lang.Long groupId){
		if(groupId!=null) {
			set("groupId",groupId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getGroupId(){
		return (java.lang.Long)get("groupId");
	}
	public void setRole(java.lang.Integer role){
		if(role!=null) {
			set("role",role);
			this.modified[2] =true;
		}
	}
	public java.lang.Integer getRole(){
		return (java.lang.Integer)get("role");
	}
	public void setNickName(java.lang.String nickName){
		if(nickName!=null) {
			set("nickName",nickName);
			this.modified[3] =true;
		}
	}
	public java.lang.String getNickName(){
		return (java.lang.String)get("nickName");
	}
	public void setSigningUpPermission(java.lang.Integer signingUpPermission){
		if(signingUpPermission!=null) {
			set("signingUpPermission",signingUpPermission);
			this.modified[4] =true;
		}
	}
	public java.lang.Integer getSigningUpPermission(){
		return (java.lang.Integer)get("signingUpPermission");
	}
	public void setPostPermission(java.lang.Integer postPermission){
		if(postPermission!=null) {
			set("postPermission",postPermission);
			this.modified[5] =true;
		}
	}
	public java.lang.Integer getPostPermission(){
		return (java.lang.Integer)get("postPermission");
	}
	public void setUploadPermission(java.lang.Integer uploadPermission){
		if(uploadPermission!=null) {
			set("uploadPermission",uploadPermission);
			this.modified[6] =true;
		}
	}
	public java.lang.Integer getUploadPermission(){
		return (java.lang.Integer)get("uploadPermission");
	}
	public void setDownloadPermission(java.lang.Integer downloadPermission){
		if(downloadPermission!=null) {
			set("downloadPermission",downloadPermission);
			this.modified[7] =true;
		}
	}
	public java.lang.Integer getDownloadPermission(){
		return (java.lang.Integer)get("downloadPermission");
	}
	public void setCent(java.lang.Long cent){
		if(cent!=null) {
			set("cent",cent);
			this.modified[8] =true;
		}
	}
	public java.lang.Long getCent(){
		return (java.lang.Long)get("cent");
	}
	public void setExprience(java.lang.Long exprience){
		if(exprience!=null) {
			set("exprience",exprience);
			this.modified[9] =true;
		}
	}
	public java.lang.Long getExprience(){
		return (java.lang.Long)get("exprience");
	}
	public void setReplies(java.lang.Long replies){
		if(replies!=null) {
			set("replies",replies);
			this.modified[10] =true;
		}
	}
	public java.lang.Long getReplies(){
		return (java.lang.Long)get("replies");
	}
	public void setPostCounts(java.lang.Long postCounts){
		if(postCounts!=null) {
			set("postCounts",postCounts);
			this.modified[11] =true;
		}
	}
	public java.lang.Long getPostCounts(){
		return (java.lang.Long)get("postCounts");
	}
	public void setIcon(java.lang.Long icon){
		if(icon!=null) {
			set("icon",icon);
			this.modified[12] =true;
		}
	}
	public java.lang.Long getIcon(){
		return (java.lang.Long)get("icon");
	}
	public void setContactEmail(java.lang.String contactEmail){
		if(contactEmail!=null) {
			set("contactEmail",contactEmail);
			this.modified[13] =true;
		}
	}
	public java.lang.String getContactEmail(){
		return (java.lang.String)get("contactEmail");
	}
	public void setContactPhone(java.lang.String contactPhone){
		if(contactPhone!=null) {
			set("contactPhone",contactPhone);
			this.modified[14] =true;
		}
	}
	public java.lang.String getContactPhone(){
		return (java.lang.String)get("contactPhone");
	}
	public void setContactIM(java.lang.String contactIM){
		if(contactIM!=null) {
			set("contactIM",contactIM);
			this.modified[15] =true;
		}
	}
	public java.lang.String getContactIM(){
		return (java.lang.String)get("contactIM");
	}
	public void setContactFuther(java.lang.String contactFuther){
		if(contactFuther!=null) {
			set("contactFuther",contactFuther);
			this.modified[16] =true;
		}
	}
	public java.lang.String getContactFuther(){
		return (java.lang.String)get("contactFuther");
	}
	public void setOnlineTime(java.util.Date onlineTime){
		if(onlineTime!=null) {
			set("onlineTime",onlineTime);
			this.modified[17] =true;
		}
	}
	public java.util.Date getOnlineTime(){
		return (java.util.Date)get("onlineTime");
	}
	public void setLastVisite(java.util.Date lastVisite){
		if(lastVisite!=null) {
			set("lastVisite",lastVisite);
			this.modified[18] =true;
		}
	}
	public java.util.Date getLastVisite(){
		return (java.util.Date)get("lastVisite");
	}
	public void setLevel(java.lang.Integer level){
		if(level!=null) {
			set("level",level);
			this.modified[19] =true;
		}
	}
	public java.lang.Integer getLevel(){
		return (java.lang.Integer)get("level");
	}
	public void setPrestige(java.lang.Integer prestige){
		if(prestige!=null) {
			set("prestige",prestige);
			this.modified[20] =true;
		}
	}
	public java.lang.Integer getPrestige(){
		return (java.lang.Integer)get("prestige");
	}
	public void setSignature(java.lang.String signature){
		if(signature!=null) {
			set("signature",signature);
			this.modified[21] =true;
		}
	}
	public java.lang.String getSignature(){
		return (java.lang.String)get("signature");
	}
	public void setUpdateAmount(java.lang.Long updateAmount){
		if(updateAmount!=null) {
			set("updateAmount",updateAmount);
			this.modified[22] =true;
		}
	}
	public java.lang.Long getUpdateAmount(){
		return (java.lang.Long)get("updateAmount");
	}
	public void setDownloadAmount(java.lang.Long downloadAmount){
		if(downloadAmount!=null) {
			set("downloadAmount",downloadAmount);
			this.modified[23] =true;
		}
	}
	public java.lang.Long getDownloadAmount(){
		return (java.lang.Long)get("downloadAmount");
	}
	public void setSex(java.lang.Integer sex){
		if(sex!=null) {
			set("sex",sex);
			this.modified[24] =true;
		}
	}
	public java.lang.Integer getSex(){
		return (java.lang.Integer)get("sex");
	}
	public void setState(java.lang.Integer state){
		if(state!=null) {
			set("state",state);
			this.modified[25] =true;
		}
	}
	public java.lang.Integer getState(){
		return (java.lang.Integer)get("state");
	}
}
